package cn.wolfcode.education.service;

import cn.wolfcode.education.domain.Permission;
import cn.wolfcode.education.query.QueryObject;
import cn.wolfcode.education.util.PageResult;

import java.util.List;

public interface IPermissionService {

    PageResult list(QueryObject qo);

    void reload();

    PageResult listAll(QueryObject qo);

    List<Permission> queryForRoleId(Long roleId);
}
